Interface with TWAIN/SANE/WIA/eSCL/ICA scanner using Node.js, Flutter, Java, Python, .NET and more
RESTful APIs are essential for building scalable, efficient, and platform-agnostic applications. Dynamic Web TWAIN RESTful APIs extend the power of our JavaScript SDK by offering a flexible way to integrate document scanning. While the JavaScript APIs are ideal for rich, interactive scanning experiences in the browser, the RESTful APIs make it easy to add scanning using Python, C#, Java, PHP, and more.
RESTful API offers the agility to tailor your scanning experience precisely to your application’s needs.
How Does RESTful API Work?
- Dynamic Web TWAIN service runs on the client machine.
- The app makes requests to the Dynamic Web TWAIN service via RESTful APIs.
- The Dynamic Web TWAIN Services communicates with the scanner hardware.
- Scanned documents are returned as image blobs.
DWT RESTful API vs JavaScript API
| RESTful API | JavaScript API | |
|---|---|---|
| Integration | HTTP Requests | JS SDK embedded in browser |
| Platform | Platform-agnostic | Browser-based |
| Built-in Viewer | No | Yes |
| Language Support | Java, C#, Python, JavaScript, etc | JavaScript |
| RESTful API | |
|---|---|
| Integration | HTTP Requests |
| Platform | Platform-agnostic |
| Built-in Viewer | No |
| Language Support | Flutter, Java, Python, .NET, etc |
| JavaScript API | |
|---|---|
| Integration | JS SDK embedded in browser |
| Platform | Browser-based |
| Built-in Viewer | Yes |
| Language Support | JavaScript |
Benefits of Using RESTful API
Platform & Language Agnostic
Integrate it from any platform (Windows, macOS, Linux) and in any programming language (JavaScript, Python, Java, .NET, PHP, etc.)
Simplified Backend Workflow
Build a backend-driven scanning solution without a UI or integrate it into a custom workflow with minimal frontend.
Future-Proof & Scalable Works
Compatible with modern frameworks, the RESTful API enables future-proof integration that scales as your application evolves.